home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / OpenGL-ftn / fgltexcoord.z / fgltexcoord
Encoding:
Text File  |  2001-04-17  |  13.0 KB  |  199 lines

  1.  
  2.  
  3.  
  4. ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd((((3333GGGG))))                OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee                ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111dddd,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111ffff,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111iiii,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111ssss,,,,
  10.      ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222dddd,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222ffff,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222iiii,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222ssss,,,,
  11.      ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333dddd,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333ffff,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333iiii,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333ssss,,,,
  12.      ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444dddd,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444ffff,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444iiii,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444ssss,,,,
  13.      ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111ddddvvvv,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111ffffvvvv,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111iiiivvvv,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111ssssvvvv,,,,
  14.      ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222ddddvvvv,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222ffffvvvv,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222iiiivvvv,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222ssssvvvv,,,,
  15.      ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333ddddvvvv,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333ffffvvvv,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333iiiivvvv,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333ssssvvvv,,,,
  16.      ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444ddddvvvv,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444ffffvvvv,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444iiiivvvv,,,, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444ssssvvvv - set the
  17.      current texture coordinates
  18.  
  19.  
  20. FFFFOOOORRRRTTTTRRRRAAAANNNN SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  21.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111dddd( REAL*4 _s )
  22.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111ffff( REAL*4 _s )
  23.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111iiii( INTEGER*4 _s )
  24.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111ssss( INTEGER*2 _s )
  25.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222dddd( REAL*4 _s,
  26.                                REAL*4 _t )
  27.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222ffff( REAL*4 _s,
  28.                                REAL*4 _t )
  29.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222iiii( INTEGER*4 _s,
  30.                                INTEGER*4 _t )
  31.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222ssss( INTEGER*2 _s,
  32.                                INTEGER*2 _t )
  33.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333dddd( REAL*4 _s,
  34.                                REAL*4 _t,
  35.                                REAL*4 _r )
  36.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333ffff( REAL*4 _s,
  37.                                REAL*4 _t,
  38.                                REAL*4 _r )
  39.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333iiii( INTEGER*4 _s,
  40.                                INTEGER*4 _t,
  41.                                INTEGER*4 _r )
  42.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333ssss( INTEGER*2 _s,
  43.                                INTEGER*2 _t,
  44.                                INTEGER*2 _r )
  45.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444dddd( REAL*4 _s,
  46.                                REAL*4 _t,
  47.                                REAL*4 _r,
  48.                                REAL*4 _q )
  49.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444ffff( REAL*4 _s,
  50.                                REAL*4 _t,
  51.                                REAL*4 _r,
  52.                                REAL*4 _q )
  53.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444iiii( INTEGER*4 _s,
  54.                                INTEGER*4 _t,
  55.                                INTEGER*4 _r,
  56.                                INTEGER*4 _q )
  57.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444ssss( INTEGER*2 _s,
  58.                                INTEGER*2 _t,
  59.                                INTEGER*2 _r,
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd((((3333GGGG))))                OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee                ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd((((3333GGGG))))
  71.  
  72.  
  73.  
  74.                               INTEGER*2 _q )
  75.  
  76.  
  77. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  78.      _s, _t, _r, _q
  79.               Specify _s, _t, _r, and _q  texture coordinates.  Not all parameters
  80.               are present in all forms of the command.
  81.  
  82. FFFFOOOORRRRTTTTRRRRAAAANNNN SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  83.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111ddddvvvv( CHARACTER*8 _v )
  84.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111ffffvvvv( CHARACTER*8 _v )
  85.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111iiiivvvv( CHARACTER*8 _v )
  86.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111ssssvvvv( CHARACTER*8 _v )
  87.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222ddddvvvv( CHARACTER*8 _v )
  88.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222ffffvvvv( CHARACTER*8 _v )
  89.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222iiiivvvv( CHARACTER*8 _v )
  90.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222ssssvvvv( CHARACTER*8 _v )
  91.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333ddddvvvv( CHARACTER*8 _v )
  92.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333ffffvvvv( CHARACTER*8 _v )
  93.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333iiiivvvv( CHARACTER*8 _v )
  94.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333ssssvvvv( CHARACTER*8 _v )
  95.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444ddddvvvv( CHARACTER*8 _v )
  96.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444ffffvvvv( CHARACTER*8 _v )
  97.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444iiiivvvv( CHARACTER*8 _v )
  98.      SUBROUTINE ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444ssssvvvv( CHARACTER*8 _v )
  99.  
  100.  
  101. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  102.      _v    Specifies a pointer to an array of one, two, three, or four
  103.           elements, which in turn specify the _s, _t, _r, and _q texture
  104.           coordinates.
  105.  
  106. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  107.      ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd specifies texture coordinates in one, two, three, or four
  108.      dimensions. ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd1111 sets the current texture coordinates to (_s, 0,
  109.      0, 1); a call to ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd2222 sets them to (_s, _t, 0, 1).  Similarly,
  110.      ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd3333 specifies the texture coordinates as (_s, _t, _r, 1), and
  111.      ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd4444 defines all four components explicitly as (_s, _t, _r, _q).
  112.  
  113.      The current texture coordinates are part of the data that is associated
  114.      with each vertex and with the current raster position. Initially, the
  115.      values for _s, _t, _r, and _q are (0, 0, 0, 1).
  116.  
  117. NNNNOOOOTTTTEEEESSSS
  118.      The current texture coordinates can be updated at any time.  In
  119.      particular, ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd can be called between a call to ffffggggllllBBBBeeeeggggiiiinnnn and the
  120.      corresponding call to ffffggggllllEEEEnnnndddd.
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd((((3333GGGG))))                OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee                ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrdddd((((3333GGGG))))
  137.  
  138.  
  139.  
  140. MACHINE DEPENDENCIES
  141.      On Octane2 VPro systems, use of the texture q coordinate to achieve
  142.      projective texture effects will be processed on a per-vertex basis
  143.      instead of a per-pixel basis, unless the the texture matrix is set up to
  144.      be projective.  (A projective texture matrix is defined to be one in
  145.      which any of the 13th, 14th or 15th elements is non-zero.)  In addition,
  146.      if either two-sided lighting or fragment lighting is in effect,
  147.      projective texture effects will always be processed on a per-vertex
  148.      basis.
  149.  
  150.  
  151. AAAASSSSSSSSOOOOCCCCIIIIAAAATTTTEEEEDDDD GGGGEEEETTTTSSSS
  152.      ffffggggllllGGGGeeeetttt with argument GGGGLLLL____CCCCUUUURRRRRRRREEEENNNNTTTT____TTTTEEEEXXXXTTTTUUUURRRREEEE____CCCCOOOOOOOORRRRDDDDSSSS
  153.  
  154. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  155.      ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrddddPPPPooooiiiinnnntttteeeerrrr, ffffggggllllVVVVeeeerrrrtttteeeexxxx
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.